import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import aop.core.MemberService;


public class TestMain {

	public static void main(String[] args) throws Exception{

		ApplicationContext ctx = new ClassPathXmlApplicationContext("aop-spring.xml");
		MemberService service = (MemberService)ctx.getBean("memberService");
		service.joinMember("id-1", "최효송", 29);
		service.getMemberById(null);
	}

}
